package com.mm.mapper;

import com.mm.my.mapper.MyMapper;
import com.mm.pojo.PermissionsInfo;
import com.mm.vo.PermButtonVo;
import com.mm.vo.PermMenuVo;
import com.mm.vo.PermMenuTwoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PermissionsInfoMapper extends MyMapper<PermissionsInfo> {

    List<PermMenuVo> queryPermMenu();

    List<PermMenuTwoVo> queryMenuTwo(@Param("permId") String permId);

    List<PermButtonVo> queryButton(@Param("permId") String permId);
}